package edu.szu.huhanpeng.doodlingFight.controller.mainHandler 
{
	import edu.szu.huhanpeng.doodlingFight.controller.dataController.gameStart.DestroyDoneDc;
	import edu.szu.huhanpeng.doodlingFight.controller.dataController.gameStart.HrFindGroupDc;
	import edu.szu.huhanpeng.doodlingFight.controller.dataController.gameStart.InitActionerDc;
	import edu.szu.huhanpeng.doodlingFight.controller.dataController.gameStart.InitChessBoardDc;
	import edu.szu.huhanpeng.doodlingFight.controller.dataController.gameStart.InitChessesDc;
	import edu.szu.huhanpeng.doodlingFight.controller.dataController.gameStart.InitFriendDc;
	import edu.szu.huhanpeng.doodlingFight.controller.showController.CleanStageSc;
	import edu.szu.huhanpeng.doodlingFight.controller.showController.gameStart.InitPlayWindowsSc;
	import edu.szu.huhanpeng.doodlingFight.controller.showController.gameStart.SetPlayerMsgSc;
	import org.puremvc.as3.interfaces.IAsyncCommand;
	import org.puremvc.as3.interfaces.INotifier;
	import org.puremvc.as3.patterns.command.AsyncMacroCommand;
	
	/**
	 * ...
	 * @author Huhanpeng
	 */
	public class HMrGameStart extends AsyncMacroCommand implements IAsyncCommand, INotifier 
	{
		
		override protected function initializeAsyncMacroCommand():void 
		{
			addSubCommand( CleanStageSc );
			addSubCommand( SetPlayerMsgSc );
			addSubCommand( CleanStageSc );
			addSubCommand( InitPlayWindowsSc );
			
			//addSubCommand( DebugSimpleCmd );
			//准备数据
			
			//创建并初始化棋盘数据
			addSubCommand( InitChessBoardDc );
			//创建棋子数据并与棋盘数据和棋子显示对象关联
			addSubCommand( InitChessesDc );
			
			addSubCommand( InitFriendDc );
			
			addSubCommand( DestroyDoneDc );
			
			addSubCommand( HrFindGroupDc );
			
			addSubCommand( InitActionerDc );
			
			addSubCommand( HMrUpdateActioner );
		}
		
	}

}